﻿using Newtonsoft.Json;
using System;

namespace FileStorage.Models.Entity
{
    public class Node
    {
        [JsonProperty("fileId")]
        public string FileId { get; set; }
        [JsonProperty("fileName")]
        public string FileName { get; set; }
        [JsonProperty("fileSize")]
        public string FileSize { get; set; }
        [JsonProperty("fileParentFolder")]
        public string FileParentFolder { get; set; }
        [JsonProperty("fileCreationDate")]
        public string FileCreationDate { get; set; }
        [JsonProperty("fileCreator")]
        public string FileCreator { get; set; }
        [JsonIgnore]
        [JsonProperty("filePath")]
        public string FilePath { get; set; }


        [JsonProperty("fileStatus")]
        public int FileStatus { get; set; }
        [JsonProperty("fileDeletionDate")]
        public string FileDeletionDate { get; set; }
        [JsonProperty("fileDeletor")]
        public string FileDeletor { get; set; }
    }
}
